﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>${pagetitle}|${sitename}</title>
    <meta name="keywords" content="${metakeywords}" />
    <meta name="description" content="${metadescription}" />
    <!--${themeurl}是带url的，path是相对根的路径 -->
    <link href="${themeurl}css/style.css" rel="stylesheet" />
    <link href="${themepath}css/lrtk.css" rel="stylesheet" />
    <script src="${themepath}js/jquery-1.11.0.min.js"></script>
    <script src="${themepath}js/jquery.superslide.2.1.1.js"></script>
    <script src="${themepath}js/tools.js"></script>
    ${head}
</head>
<body>
    <div id="topbar">
        <a href="/member/content/publish/" target="_blank" class="voteArt">欢迎投稿</a>
        <span class="today">
            今日深度：<a href="#" target="_blank">现在为互联网金融喊冤太早了</a>
        </span>
        <span class="text" id="login_banner">
            <a href="/member/index/login/" target="_blank">登录</a>　<a href="/member/index/register/" target="_blank">注册</a>
        </span>
        <div class="search-box">
            <form target="_blank" action="${siteurl}search.aspx" method="get">
                <input type="text" name="q" class="input-text">
                <input type="submit" class="btn" value="搜索">
            </form>
        </div>
    </div>

    <div id="header">
        <div class="wrap">
            <a id="logo" href="${siteurl}"><img src="${themepath}images/logo_2014.png" width="170" alt="鬼点子"></a>

            <div class="media"><a id="mediadown" href="#" target="_blank"><span></span></a><a href="#" target="_blank" id="klywb"><span></span></a><a id="klywx" style="background-position: -32px 100%; "><span></span></a><a id="klyrss" href="/feed/" target="_blank"><span></span></a><a id="klyc" href="javascript:void(0);" onclick="browserEvent(this,document.location.href,document.title);"><span></span></a></div>

        </div>
    </div>
    <div id="nav">
        <div class="wrap">
            <ul id="menu-topmenu">
                #if(${isdefault}==1)
                <li class="home current"><a href="${siteurl}" target="_self">首页</a></li>
                #else
                <li class="home"><a href="${siteurl}" target="_self">首页</a></li>
                #end

                #foreach($item in $categories)
                #if($item.CatId==$catid)
                <li class="current"><a href="${item.url}" title="${item.description}" target="_self">${item.name}</a></li>
                #else
                <li><a href="${item.url}" title="${item.description}" target="_self">${item.name}</a></li>
                #end
                #end
            </ul>
        </div>
    </div>
